package com.pearadmin.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.pearadmin.common.nucleus.base.BaseModel;
import lombok.Data;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Data
@TableName("sys_post")
public class SysPost extends BaseModel {

    @TableId(value = "id",type = IdType.ID_WORKER_STR)
    private String id;
    @TableField("code")
    private String code;
    @TableField("dept_id")
    private String deptId;
    @TableField("name")
    private String name;
    @TableField("sort")
    private Integer sort;
    @TableField("status")
    private String status;




}
